package com.wish.g01.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName CwDealPerDayDetailReceiptDto
 * @Description TODO
 * @Author MQ
 * @Date 2022/5/30 19:55
 */
@Getter
@Setter
@ToString
@Data
public class CwDealPerDayDetailReceiptDto implements Serializable {

    //商户名称
    private String businessName;
    //交易日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dealDate;
    //房源名称
    private String roomName;
    //租客姓名
    private String tenantName;
    //租客电话
    private String tenantPhone;
    //费用类型
    private Integer itemType;
    //收支状态
    private String dealDesc;
    //金额
    private BigDecimal realPaymentAmount;
    //支付方式  参照PayWayEnum.java定义(包含线上、线下)
    private Integer payMethod;
}
